# coding=utf-8
"""
@author : leecrest
@time   : 2014/7/18 23:21
@brief  : 
"""


def Check(data, bNone):
	if bNone and data == "":
		return False
	if data == "0" or data == "否":
		return False
	if data == "1" or data == "是":
		return True
	return False
